
package com.windgo.service;

import com.windgo.bean.bo.*;
import com.windgo.bean.MarketOrderGoods;
import com.windgo.bean.MarketOrder;
import com.windgo.bean.vo.OrderDetailVo;
import com.windgo.bean.common.BasePageInfo;
import com.windgo.bean.common.CommonData;
import com.windgo.bean.vo.WxOrderDetailVo;
import com.windgo.bean.vo.WxOrderListVo;
import com.windgo.bean.vo.WxOrderSubmitVo;

import java.util.Date;

/**
 * @Author:ZhouXin
 * @Date:2022/10/13 11:35
 * @Description:
 **/
public interface OrderService {
    CommonData<MarketOrder> list(BasePageInfo info, Integer userId, String orderSn, Short[] orderStatusArray, Date start, Date end);

    OrderDetailVo detail(Integer id);

    void delete(Integer orderId);

    void ship(OrderShipVo orderShipVo);

    void refund(OrderRefundBo orderRefundBo);

    void reply(OrderCommentReplyBo orderCommentReplyBo);


    void wxComment(WxCommentCreateBo wxCommentCreateBo,Integer userId);


    CommonData<WxOrderListVo> wxList(BasePageInfo info, Integer showType);

    WxOrderDetailVo wxDetail(Integer orderId);

    void wxCancel(Integer orderId);

    void wxRefund(Integer orderId);

    void wxDelete(Integer orderId);

    void wxConfirm(Integer orderId);


    MarketOrderGoods wxGoods(Integer orderId, Integer goodsId);

    WxUserIndexBo count();


    void wxPrepay(Integer orderId);
}

